/*
 * @(#)AbstractPermissionObject.java
 *
 * Copyright (c) 2003 DCIVision Ltd
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of DCIVision
 * Ltd ("Confidential Information").  You shall not disclose such Confidential
 * Information and shall use it only in accordance with the terms of the license
 * agreement you entered into with DCIVision Ltd.
 */
package com.dcivision.framework.bean;

import java.sql.Timestamp;

/**
  AbstractPermissionObject.java

  This class is the serializable bean reflecting business logic uses.

    @author           Rollo Chan
    @company          DCIVision Limited
    @creation date    06/08/2003
    @version          $Revision: 1.5 $
*/

public class AbstractPermissionObject extends AbstractBaseObject {

  public static final String REVISION = "$Revision: 1.5 $";

  private String subjectType = null;
  private String objectType = null;
  private Integer objectID = null;
  private String permission = null;
  private boolean mustFlag = false;
  private Timestamp startTime = null;
  private Timestamp endTime = null;
  private Integer granterUserRecordID = null;
  private String canGrant = null;

  public AbstractPermissionObject() {
    super();
  }

  public String getSubjectType() {
    return(this.subjectType);
  }

  public void setSubjectType(String subjectType) {
    this.subjectType = subjectType;
  }

  public String getObjectType() {
    return(this.objectType);
  }

  public void setObjectType(String objectType) {
    this.objectType = objectType;
  }

  public Integer getObjectID() {
    return(this.objectID);
  }

  public void setObjectID(Integer objectID) {
    this.objectID = objectID;
  }

  public String getPermission() {
    return(this.permission);
  }

  public void setPermission(String permission) {
    this.permission = permission;
  }

  public boolean getMustFlag() {
    return(this.mustFlag);
  }

  public void setMustFlag(boolean mustFlag) {
    this.mustFlag = mustFlag;
  }

  public Timestamp getStartTime() {
    return(this.startTime);
  }

  public void setStartTime(Timestamp startTime) {
    this.startTime = startTime;
  }

  public Timestamp getEndTime() {
    return(this.endTime);
  }

  public void setEndTime(Timestamp endTime) {
    this.endTime = endTime;
  }

  public Integer getGranterUserRecordID() {
    return(this.granterUserRecordID);
  }

  public void setGranterUserRecordID(Integer granterUserRecordID) {
    this.granterUserRecordID = granterUserRecordID;
  }

  public String getCanGrant() {
    return(this.canGrant);
  }

  public void setCanGrant(String canGrant) {
    this.canGrant = canGrant;
  }
}
